package com.sql.service.impl;

import com.sql.dao.BookInfoMapping;
import com.sql.model.BookInfo;
import com.sql.service.BookInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * Created by 走过全世界。 on 2017/5/31 0031.
 */
@Service("bookServiceImpl")
public class BookInfoServiceImpl implements BookInfoService {

    //错误不影响使用
    @Autowired
    private BookInfoMapping bookInfoMapping;

    public ArrayList<BookInfo> selectByBookName(String bookName) {
        return bookInfoMapping.selectByBookName(bookName);
    }
}
